<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<s:iterator var="item" value="list">
	<strong><s:property value="#item.name"/></strong>
	<s:property value="#item.message"/><br>
</s:iterator>
<hr>
<s:append var="myAppendIterator">
     <s:param value="%{list}" />
     <s:param value="%{list}" />
     <s:param value="%{list}" />
</s:append>
<s:iterator var="item" value="myAppendIterator">
	<strong><s:property value="#item.name"/></strong>======>
	<s:property value="#item.message"/><br>
</s:iterator>
<hr>
<s:merge var="myMergeIterator">
	 <s:param value="%{list}" />
     <s:param value="%{list}" />
     <s:param value="%{list}" />
</s:merge>
<s:iterator var="item" value="myMergeIterator">
	<strong><s:property value="#item.name"/></strong>======>
	<s:property value="#item.message"/><br>
</s:iterator>
<hr>
<s:generator separator="," val="%{'1,2,4,rtf,yyy,ab4'}">
 <s:iterator>
     <s:property /><br/>
 </s:iterator>
</s:generator>
<hr>
<s:sort  comparator="nameCompare" source="list">
<s:iterator var="item1" >
	<strong><s:property value="#item1.name"/></strong>======>
	<s:property value="#item1.message"/><br>
</s:iterator>
</s:sort>
<hr>
<s:subset source="list" start="1" count="2">
	<s:iterator var="item2" >
	<strong><s:property value="#item2.name"/></strong>======>
	<s:property value="#item2.message"/><br>
</s:iterator>
</s:subset>
<hr>
<s:bean name="org.mystruts.example1.model.Message" var="mmm">
</s:bean>
<jsp:setProperty property="name" name="mmm" value="jspchange"/>
<s:property value="#mmm.name"/>

</body>
</html>